import request from './http'

//首页数据
export function getTopLists() {
    return request({
        url: "/mall/api/main/index?batch=682&versionCode=378&system_name=android&channel=vivo",
        method: "get",
    })
}
//首页底部导航
// https://wx.nanyibang.com/mall/api/item/list
export function getnavbarlist(params) {
    return request({
        url: "/item/list",
        method: "get",
        params
    })
}
//搜索
export function getSearchClassic(params) {
    return request({
        url: "/mall/api/search/list?sort=hot&page=1",
        method: "get",
        params
    })
}